export default {
    // 帐户

    account: {
        // 登录
        login: 'AccountController_LoginAsync',
    },
    // 组织架构

    organization: {
        // 读取分页列表
        getPages: 'OrganizationController_GetPagesAsync',
        // 读取列表
        getList: 'OrganizationController_GetListAsync',
        // 根据ID读取
        get: 'OrganizationController_GetAsync',
        // 创建
        post: 'OrganizationController_PostAsync',
        // 更新
        put: 'OrganizationController_PutAsync',
        // 删除
        delete: 'OrganizationController_DeleteAsync',
        // 状态变更
        statusChange: 'OrganizationController_StatusChangeAsync',
        // 读取树形结构的组织架构数据
        getTreeSelectData: 'OrganizationController_GetTreeSelectDataAsync',
        // 读取树形列表
        getTreeData: 'OrganizationController_GetTreeDataAsync',
        // 获取组织架构级联人员信息
        getCascaderSelectData: 'OrganizationController_GetCascaderSelectDataAsync',
        // 获取下属的组织架构人员树
        getSubordinateSelectData: 'OrganizationController_GetSubordinateSelectDataAsync',
    },
    // 角色

    role: {
        // 读取列表
        getPages: 'RoleController_GetPagesAsync',
        // 根据ID读取
        get: 'RoleController_GetAsync',
        // 创建
        post: 'RoleController_PostAsync',
        // 更新
        put: 'RoleController_PutAsync',
        // 删除
        delete: 'RoleController_DeleteAsync',
        // 状态变更
        statusChange: 'RoleController_StatusChangeAsync',
        // 读取角色数据
        getSelectData: 'RoleController_GetSelectDataAsync',
        // 根据角色Id读取职位Id列表
        getIdsByPositionId: 'RoleController_GetIdsByPositionIdAsync',
        // 为角色分配职位
        assignPositions: 'RoleController_AssignPositionsAsync',
        // 初始化管理员角色
        initAdmin: 'RoleController_InitAdmin',
    },
    // 子服务器服务

    agentServer: {
        // 获取注册的服务
        getPages: 'AgentServerController_GetPagesAsync',
        // 获取单条子服务器信息
        getById: 'AgentServerController_GetByIdAsync',
        // 获取健康状态
        getHealthy: 'AgentServerController_GetHealthyAsync',
        // 更新配置
        update: 'AgentServerController_UpdateAsync',
        // 获取子服务的配置
        getAgentServerConfigs: 'AgentServerController_GetAgentServerConfigsAsync',
        // 添加/更新子服务配置
        addOrUpdateAgentConfig: 'AgentServerController_AddOrUpdateAgentConfig',
        // 获取子服务器的盘符
        getAgentRootPath: 'AgentServerController_GetAgentRootPath',
        // 获取子服务器的文件夹 by目录
        getDirectory: 'AgentServerController_GetDirectoryAsync',
        // 执行备份
        backup: 'AgentServerController_BackupAsync',
        // 获取级联数据
        getCascader: 'AgentServerController_GetCascaderAsync',
        // 获取我的服务器授权列表
        getPermissionList: 'AgentServerController_GetPermissionListAsync',
        // 保存授权
        savePermission: 'AgentServerController_SavePermissionAsync',
        // 执行命令
        agentRunScript: 'AgentServerController_AgentRunScriptAsync',
        // 获取文件文本内容
        getFileText: 'AgentServerController_GetFileTextAsync',
        // 保存文件文本
        agentSaveFileText: 'AgentServerController_AgentSaveFileTextAsync',
    },
    // 服务器发布相关服务

    master: {
        // 注册平台
        registerAgent: 'MasterController_RegisterAgentAsync',
        // GenerateKeys
        generateKeys: 'MasterController_GenerateKeys',
        // GetRsa2String
        getRsa2String: 'MasterController_GetRsa2String',
    },
    // 发布流程服务

    publishFlow: {
        // 获取注册的服务
        getPage: 'PublishFlowController_GetPageAsync',
        // 获取发布流程详情
        getById: 'PublishFlowController_GetById',
        // 开始发布流程
        startPublish: 'PublishFlowController_StartPublishAsync',
        // 保存发布流程节点
        savePublishFlowNode: 'PublishFlowController_SavePublishFlowNodeAsync',
        // 获取对应流程中所有zip文件的目录表
        getFlowZipFileList: 'PublishFlowController_GetFlowZipFileListAsync',
        // 确认发布
        surePublish: 'PublishFlowController_SurePublishAsync',
        // 执行脚本
        commandRunScript: 'PublishFlowController_CommandRunScriptAsync',
        // 取消/终止发布
        cancelPublish: 'PublishFlowController_CancelPublishAsync',
        // 还原备份
        restorePublish: 'PublishFlowController_RestorePublishAsync',
        // 完成发布
        completePublish: 'PublishFlowController_CompletePublishAsync',
        // 获取日志列表
        getLogList: 'PublishFlowController_GetLogListAsync',
    },
    // 菜单

    menu: {
        // 读取列表
        getPages: 'MenuController_GetPagesAsync',
        // 根据ID读取
        get: 'MenuController_GetAsync',
        // 创建
        post: 'MenuController_PostAsync',
        // 更新
        put: 'MenuController_PutAsync',
        // 删除
        delete: 'MenuController_DeleteAsync',
        // 状态变更
        statusChange: 'MenuController_StatusChangeAsync',
        // 读取树形菜单列表
        getTreeMenuByUserId: 'MenuController_GetTreeMenuByUserIdAsync',
        // 获取用户路由
        getUserRoutes: 'MenuController_GetUserRoutesAsync',
        // 读取树形选择框数据列表
        getTreeSelectDataByRoleId: 'MenuController_GetTreeSelectDataByRoleIdAsync',
        // 读取树形结构的菜单列表
        getTreeSelectData: 'MenuController_GetTreeSelectDataAsync',
        // 读取树形列表
        getTreeData: 'MenuController_GetTreeDataAsync',
        // 读取树形选择框数据列表(by 版本和应用)
        getTreeSelectDataByVersion: 'MenuController_GetTreeSelectDataByVersionAsync',
        // 读取树形表格数据by(角色)
        getTreeTableByRoleId: 'MenuController_GetTreeTableByRoleIdAsync',
        // 读取树形表格数据
        getTreeTableByVersionsId: 'MenuController_GetTreeTableByVersionsIdAsync',
    },
    // 操作

    operation: {
        // 读取列表
        getPages: 'OperationController_GetPagesAsync',
        // 根据ID读取
        get: 'OperationController_GetAsync',
        // 创建
        post: 'OperationController_PostAsync',
        // 更新
        put: 'OperationController_PutAsync',
        // 删除
        delete: 'OperationController_DeleteAsync',
        // 读取权限代码
        getCodesByUserId: 'OperationController_GetCodesByUserIdAsync',
    },
    // 权限

    permission: {
        // 保存
        save: 'PermissionController_SaveAsync',
    },
    // 职位

    position: {
        // 读取分页列表
        getPages: 'PositionController_GetPagesAsync',
        // 根据ID读取
        get: 'PositionController_GetAsync',
        // 创建
        post: 'PositionController_PostAsync',
        // 更新
        put: 'PositionController_PutAsync',
        // 删除
        delete: 'PositionController_DeleteAsync',
        // 状态变更
        statusChange: 'PositionController_StatusChangeAsync',
        // 读取树形结构的职位数据
        getTreeSelectData: 'PositionController_GetTreeSelectDataAsync',
        // 根据角色Id读取职位Id列表
        getIdsByRoleId: 'PositionController_GetIdsByRoleIdAsync',
        // 为职位分配角色
        assignRoles: 'PositionController_AssignRolesAsync',
    },
    // 用户

    user: {
        // 读取分页列表
        getPages: 'UserController_GetPagesAsync',
        // 根据ID读取
        get: 'UserController_GetAsync',
        // 创建
        post: 'UserController_PostAsync',
        // 更新
        put: 'UserController_PutAsync',
        // 删除
        delete: 'UserController_DeleteAsync',
        // 状态变更
        statusChange: 'UserController_StatusChangeAsync',
        // 获取当前登陆人的用户信息
        getUser: 'UserController_GetUserAsync',
        // 修改个人设置
        updateUserSetting: 'UserController_UpdateUserSettingAsync',
        // 修改密码
        changePassword: 'UserController_ChangePasswordAsync',
        // 读取用户
        getSelectData: 'UserController_GetSelectDataAsync',
    },
};